package com.lhf.spareClass.service;

import com.lhf.spareClass.model.*;
import com.lhf.util.ResultVo;

import javax.validation.Valid;

/**
 * @author 尐痞猫
 * @date2021-06-25 22:50
 */
public interface SpareService {

    ResultVo likeCode(SpareLikeQuery spareLikeQuery);

   ResultVo queryByCode(String code);

  ResultVo subClass();

     ResultVo queryPage(SpareSelectVo spareSelectVo);

    ResultVo update(@Valid SpareUpdateVo spareUpdateVo);

    ResultVo add(@Valid SpareAddVo spareAddVo);

    ResultVo queryByLegalPersonCode(String legalPersonCode);

    ResultVo queryByLegalPersonCode2(String legalPersonCode);

    ResultVo select(String legalPersonCode);
}
